// CommFunc.h: interface for the CCommFunc class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_COMMFUNC_H__4567A902_876D_4D90_B18B_4DF7D65AE5C7__INCLUDED_)
#define AFX_COMMFUNC_H__4567A902_876D_4D90_B18B_4DF7D65AE5C7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000 
#include <afxtempl.h>

class CCommFunc  
{
public:
	void InitFile();
	CString m_strGroup;
	BOOL SetKeyValue(CString strGroup,CString strKey,CString strValue);
	BOOL SetKeyValue(CString strKey,CString strValue);
	CString GetKeyValue(CString strGroup,CString strKey,CString strDefaultValue);
	CString GetKeyValue(CString strKey,CString strDefaultValue);
	void GetAppFilePathList();
	CString GetAppPath();
	CCommFunc();
	CArray<CString,CString&> m_arrDictionList; 
	virtual ~CCommFunc();

private: 
	CString GetIniFilePath();
};

#endif // !defined(AFX_COMMFUNC_H__4567A902_876D_4D90_B18B_4DF7D65AE5C7__INCLUDED_)
